*/ For the 2006 Seattle Mariners players below, enter these data into a SAS data set, calculate each player's batting average (H/AB) and slugging average (TB/AB), and print the results using Proc Print. Calculate the mean batting average using Proc Means, and plot hits (H) versus at bats (AB) using Proc Plot. Since there appear to be 5 variables but only 4 variable names, you will need to have first and last for the INPUT statement. Name AB H TB Ichiro Suzuki 695 224 289 Kenji Johjima 506 147 228 Raul Ibanez 626 181 323 Adrian Beltre 620 166 288 /* data bball; input first$ last$ AB H TB; cards; Ichiro Suzuki 695 224 289 Kenji Johjima 506 147 228 Raul Ibanez 626 181 323 Adrian Beltre 620 166 288 ; run; proc print data=bball; run; * create new variable with existing variables; data bb; set bball; * this starts a new dataset with the bball dataset; bat=H/AB; slug=TB/AB; run; proc print data=bb; run; proc means data=bb; var bat; run; proc sgplot data=bb; scatter x=AB y=H; run;